<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/10/8
 * Time: 9:06
 */
class Model_Credit extends PhalApi_Model_NotORM
{


    //获取商家信息
    public function editByField($arg,$data)
    {
        return $this->getORM()
            ->where($arg)
            ->update($data);
    }


    protected function getTableName($id)
    {
        return 'pre_common_member_count';
    }

}
